package com.dayou.bean;

/**
 * mq推送消息实体类
 */
public class MqMessageBean {
    private String type;
    private String msgType;
    private String msgBody;
    private String moduleName;

    public MqMessageBean(){

    }

    public MqMessageBean(String type, String msgType, String msgBody, String moduleName) {
        this.type = type;
        this.msgType = msgType;
        this.msgBody = msgBody;
        this.moduleName = moduleName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getMsgType() {
        return msgType;
    }

    public void setMsgType(String msgType) {
        this.msgType = msgType;
    }

    public String getMsgBody() {
        return msgBody;
    }

    public void setMsgBody(String msgBody) {
        this.msgBody = msgBody;
    }

    public String getModuleName() {
        return moduleName;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    @Override
    public String toString() {
        return "MqMessageBean{" +
                "type='" + type + '\'' +
                ", msgType='" + msgType + '\'' +
                ", msgBody='" + msgBody + '\'' +
                ", moduleName='" + moduleName + '\'' +
                '}';
    }
}
